package com.wunong.smart.commission.domain.business;

import com.wunong.business.framework.annotation.BusinessExtPoints;
import com.wunong.business.framework.api.BusinessExt;
import com.wunong.smart.commission.application.request.BaseCommissionRequest;
import com.wunong.smart.commission.domain.model.CommissionDomain;
import com.wunong.smart.domain.platform.common.VerifyDTO;

/**
 * 取消代办
 *
 * @author create by zealot.zt
 */
public interface CancelCommissionBusinessExt extends BusinessExt {

    String CODE = "CancelCommissionBusinessExt";

    /**
     * 能否取消代办
     *
     * @param request
     * @param domain
     * @return
     */
    @BusinessExtPoints(parent = CODE, code = "canCancel", name = "能否取消代办")
    VerifyDTO canCancel(BaseCommissionRequest request, CommissionDomain domain);

}
